<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>jQuery UI Dialog - Modal form</title>
	<!-- jqueryUI样式 -->
	<link rel="stylesheet" type="text/css" media="screen" href="../js/plugins/jquery-ui/css/redmond/jquery-ui-1.8.9.custom.css" />
	<script type="text/javascript" src="../js/jquery-1.7.min.js"></script>
	<script type="text/javascript" src="../js/jQueryUtil.js"></script>
	<script type="text/javascript" src="../js/plugins/jquery-ui/js/jquery-ui-1.8.9.custom.min.js"></script>
	<script type="text/javascript" src="../js/plugins/jquery-ui/development-bundle/external/jquery.bgiframe-2.1.2.js"></script>
	<script type="text/javascript" src="../js/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js"></script>
	<script>
		$(function() {
			jQuery.div.util.dialogInit("增加/编辑课程", "dialog-form", 900, 1000);
		});
		function _show(){
			$("#dialog-form").dialog("open");
		}
		function _fanhui(){
			$( "#dialog-form" ).dialog("close");
		}
	</script>
</head>
<body>
	<div id="dialog-form">
		<label for="name">Name</label>
		<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
		<label for="email">Email</label>
		<input type="text" name="email" id="email" value="" class="text ui-widget-content ui-corner-all" />
		<label for="password">Password</label>
		<input type="password" name="password" id="password" value="" class="text ui-widget-content ui-corner-all" />
		<input type="button" value="返回" onclick="_fanhui();"/>
	</div>
<button id="create-user" onclick="_show();">创建</button>
</body>
</html>
